<!DOCTYPE html>
<html class="ui-page-login">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>上传图片</title>
		
		<link rel="stylesheet" href="css/aui.css" />
		<link href="css/style.css" rel="stylesheet" />
		<link rel="stylesheet" href="js/layer/need/layer.css" />
		<style>
			
		</style>

	</head>

	<body>
		<header class="aui-bar aui-bar-nav aui-background-white aui-position-fixed aui-bar-nav-search aui-text-default">
			<a class="aui-pull-left aui-btn" href="JavaScript:history.go(-1)">
				<span class="aui-iconfont aui-icon-left aui-text-gray aui-font-size-14"></span>
			</a>
			<div class="aui-title">
				作文批改
			</div>
		</header>
		<div class="aui-content aui-nav-search-fixed" style="margin-top: 2.25rem;">
			<div class="aui-write-content aui-background-white">
				<ul class="">
					<li class="aui-padded-l-15 aui-padded-r-15 aui-display-flex aui-border-b" style="align-items: center;">
						<span class="aui-pull-left aui-font-size-13">题目</span>
						<div class="aui-pull-left aui-margin-l-10">
							<input type="text" placeholder="请输入题目" id='title' class="aui-text-nine aui-font-size-13"/>
						</div>
					</li>
					<li class="aui-padded-l-15 aui-padded-r-15 aui-display-flex" style="align-items: center;">
						<span class="aui-pull-left aui-font-size-13">年级</span>
						<div class="aui-pull-left aui-list-item-arrow aui-position-relative aui-margin-l-10">
							<select name="" id="class" class="aui-font-size-13 aui-text-nine">
								<option value="">请选择年级</option>
								<option value="0">一年级</option>
								<option value="1">二年级</option>
								<option value="2">三年级</option>
								<option value="3">四年级</option>
								<option value="4">五年级</option>
								<option value="5">六年级</option>
							</select>
						</div>
					</li>
					
	            </ul>
			</div>
			<div class="aui-position-fixed aui-width-one aui-save-btn" style="bottom: 0;">
				<button>保存</button>
			</div>
			
		</div>
		<div class="aui-foot-height"></div>
	

		<script src="js/jquery-1.7.2.min.js"></script>
		<script src="js/layer/layer.js"></script>
		<script>
			$('.aui-save-btn button').click(function(){
				if($('#title').val() == '' || $('#class').val() == ''){
					layer.open({
						content: '请完善信息后进行下一步'
						,skin: 'msg'
						,time: 2 ,//2秒后自动关闭 
					});
					return false;
				}
				window.localStorage.setItem('title',$('#title').val());
				window.localStorage.setItem('class',$('#class').val());
				window.location.href='checkTips.html';
			})
		</script>
	</body>

</html>